package com.task.sql.schedule.domain.dto;

import java.util.Date;
    import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

/**
 * 
 *
 * @author donghai.liu
 * @time 2024-09-10
 */
@Data
public class SqlTaskDTO implements Serializable {

    private static final long serialVersionUID = 1L;

                    @ApiModelProperty(value = "序号")
                                    private Long id;

            @ApiModelProperty(value = "任务组编号，sql_task_group：id")
                                    private Long taskGroupNo;

            @ApiModelProperty(value = "任务标识")
                                    private String taskNo;

            @ApiModelProperty(value = "任务组内任务排序号，默认1")
                                    private Integer sortNo;

            @ApiModelProperty(value = "前置任务，多个用，隔开，例如1,2,3")
                                    private String preTaskNo;

            @ApiModelProperty(value = "任务自定义执行时间，默认每天执行一次")
                                    private String taskCron;

            @ApiModelProperty(value = "最后一次执行日期，20240909")
                                    private Integer lastExecDate;

            @ApiModelProperty(value = "数据是否有效，0无效1有效，默认1有效")
                                    private Integer yn;

            @ApiModelProperty(value = "插入时间")
                                    private Date insertTime;

            @ApiModelProperty(value = "更新用户，默认system")
                                    private String insertUser;

            @ApiModelProperty(value = "更新时间，默认与插入时间相同")
                                    private Date updateTime;

            @ApiModelProperty(value = "更新用户,默认system")
                                    private String updateUser;

    
}
